package com.youlu.campus.entity.VO.req;

import com.youlu.campus.entity.ActivityQuestionInfo;
import com.youlu.campus.entity.UserPO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class QaCommitCommand {

    @NotBlank(message = "题库Id不能为空")
    private String qaInfoId;

    @NotNull(message = "用户提交答案不能为空")
    private List<ActivityQuestionInfo> userAnswersQuestionInfoList;

    private UserPO currentUser;
    /**
     * 1、原有活动 2、宗瑞活动 3、新QQ小程序
     */
    private Integer type=1;
    /**
     * 答题分数
     */
    private Double qaScore;



}
